package com.edu.base.ums.memberShareReward.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 会员分享奖励积分记录对象 cls_member_share_reward
 * 
 * @author zw
 * @date 2022-06-28
 */
public class ClsMemberShareReward extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 会员id */
    @Excel(name = "会员id")
    private String memberId;

    /** 新会员id */
    @Excel(name = "新会员id")
    private String newMemberId;

    /** 新会员手机号 */
    @Excel(name = "新会员手机号")
    private String newMemberPhone;

    /** 奖励的积分 */
    @Excel(name = "奖励的积分")
    private BigDecimal rewardScore;

    /** 奖励类型 1 注册奖励 2 消费奖励 */
    @Excel(name = "奖励类型 1 注册奖励 2 消费奖励")
    private String rewardType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMemberId(String memberId) 
    {
        this.memberId = memberId;
    }

    public String getMemberId() 
    {
        return memberId;
    }
    public void setNewMemberId(String newMemberId) 
    {
        this.newMemberId = newMemberId;
    }

    public String getNewMemberId() 
    {
        return newMemberId;
    }
    public void setNewMemberPhone(String newMemberPhone) 
    {
        this.newMemberPhone = newMemberPhone;
    }

    public String getNewMemberPhone() 
    {
        return newMemberPhone;
    }
    public void setRewardScore(BigDecimal rewardScore) 
    {
        this.rewardScore = rewardScore;
    }

    public BigDecimal getRewardScore() 
    {
        return rewardScore;
    }
    public void setRewardType(String rewardType) 
    {
        this.rewardType = rewardType;
    }

    public String getRewardType() 
    {
        return rewardType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberId", getMemberId())
            .append("newMemberId", getNewMemberId())
            .append("newMemberPhone", getNewMemberPhone())
            .append("rewardScore", getRewardScore())
            .append("rewardType", getRewardType())
            .append("createTime", getCreateTime())
            .toString();
    }
}
